taget = T3IM

$(taget):
	cd module/main && make
	cd lib && make
	cp -f lib/$@ bin
	
.PHONY : clean 	install
clean:
	cd module/main && make clean
	cd lib &&make clean
	rm -f bin/$(taget)
	
install:
	cp -f -u bin/$(taget) /usr/bin
	
lint:
	cd module/main && make lint
	
run:
	@cd bin && ./$(taget)
	

